﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OpenSda.Agilcont.Common.Business.Exceptions
{
    public sealed class DataAccessAgenciaConfigNotFoundException : Exception
    {
        public DataAccessAgenciaConfigNotFoundException()
            : base(string.Format("The DataAccessAgenciaConfig doesn't exist in the DataBase"))
        { }
    }

    public sealed class DataAccessAgenciaConfigCannotBeNullException : Exception
    {
        public DataAccessAgenciaConfigCannotBeNullException()
            : base(string.Format("DataAccessAgenciaConfig cannot be null"))
        { }
    }

    public sealed class DataAccessAgenciaConfigRoleInUseException : Exception
    {
        public DataAccessAgenciaConfigRoleInUseException()
            : base(string.Format("The DataAccessAgenciaConfig Code is already in use"))
        { }
    }

    //public sealed class DataAccessAgenciaConfigNameInUseException : Exception
    //{
    //    public DataAccessAgenciaConfigNameInUseException()
    //        : base(string.Format("The DataAccessAgenciaConfig Name is already in use"))
    //    { }
    //}
}
